package com.wn.demo05;

/**
 * @author yellow Docter
 * @date 2024 -06-17
 * @desc
 */
public class Employee {

    private String name;
    private int age;
    private double salary;
    private String no;

    public Employee() {}
    public Employee(String no,String name, int age, double salary) {
        this.no = no;
        this.name = name;
        this.age = age;
        this.salary = salary;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }
}
